#ifndef RENDERERPTR_H_INCLUDED
#define RENDERERPTR_H_INCLUDED


#include <SDL.h> 


typedef struct WindowPtr Window; 


struct RendererPtr
{
	RendererPtr() : m_pRenderer(nullptr) {} 
    ~RendererPtr() { SDL_DestroyRenderer(m_pRenderer); } 

	void Init(const Window& w); 

	SDL_Renderer* m_pRenderer; 

private: 
	RendererPtr(const RendererPtr&); 
	RendererPtr& operator=(const RendererPtr&); 
}; 


typedef RendererPtr Renderer; 


#endif // RENDERERPTR_H_INCLUDED